/**
 * 
 */
package br.com.pim.dao;

import java.sql.SQLException;
import java.util.List;

import br.com.pim.model.IModel;

/**
 * @author douglas.peixoto
 * 
 */
public interface IDAO<T extends IModel> {

	void inserir(T t) throws SQLException;

	T buscarPorChave(Long chave) throws SQLException;

	List<T> buscarTodos() throws SQLException;

	T alterar(T t);

}
